/*
 * Copyright (c) gitee.com/jiandong001.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

export class ReactModuleInfo {
    public constructor(private mName: string, private mClassName: string, private mCanOverrideExistingModule: boolean,
        private mNeedsEagerInit: boolean, private  mHasConstants: boolean, private mIsCxxModule: boolean, private mIsTurboModule: boolean) {
    }

    public name() {
        return this.mName;
    }

    public className() {
        return this.mClassName;
    }

    public canOverrideExistingModule() {
        return this.mCanOverrideExistingModule;
    }

    public needsEagerInit() {
        return this.mNeedsEagerInit;
    }

    public hasConstants() {
        return this.mHasConstants;
    }

    public isCxxModule() {
        return this.mIsCxxModule;
    }

    public isTurboModule() {
        return this.mIsTurboModule;
    }
}
